package com.hades.example.android.buildappbundle;

import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class GuideActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guide);

        findViewById(R.id.nextStep).setOnClickListener(v -> nextStep());
    }

    private void nextStep() {
        startActivity(new Intent(this, MainActivity.class));
        finish();
    }
}
